package com.mtw.bbs.common.core.enums;


/**
 * 排序类型枚举
 */
public enum SortEnum {

    SORT_TIME("创建时间",1),
    SORT_LIKE("点赞数",2);


    private final String name;
    private final Integer code;

    SortEnum(String name, Integer code){
        this.name = name;
        this.code = code;
    }



    public Integer getCode(){
        return this.code;
    }



}
